import { createStore, applyMiddleware, combineReducers } from 'redux'
import thunk from 'redux-thunk'

import home from '../views/home/reducer'
import kind from '../views/kind/reducer'

const reducer = combineReducers({
  home,
  kind
})

const store = createStore(reducer, applyMiddleware(thunk))

export default store